#include "ModbusStruct.h"

ModbusStruct::ModbusStruct()
{
    m_deviceAddress = 0;
}

QString ModbusStruct::zone() const
{
    return m_zone;
}

void ModbusStruct::setZone(const QString &zone)
{
    m_zone = zone;
}

QString ModbusStruct::device() const
{
    return m_device;
}

void ModbusStruct::setDevice(const QString &device)
{
    m_device = device;
}

quint8 ModbusStruct::deviceAddress() const
{
    return m_deviceAddress;
}

void ModbusStruct::setDeviceAddress(const quint8 &deviceAddress)
{
    m_deviceAddress = deviceAddress;
}

QList<ModbusFunctionStruct> ModbusStruct::functionList() const
{
    return m_functionList;
}

void ModbusStruct::setFunctionList(const QList<ModbusFunctionStruct> &functionList)
{
    m_functionList = functionList;
}
